package com.trainbook.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 座位名映射表
 * </p>
 *
 * @author Dempsey
 * @since 2020-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("seatItem")
@ApiModel(value = "SeatItem", description = "座位名映射表")
public class SeatItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "座位等级索引值")
    @TableField("seat_level")
    private Integer seatLevel;

    @ApiModelProperty(value = "座位等级")
    @TableField("seat_name")
    private String seatName;

    @ApiModelProperty(value = "最大座位数")
    @TableField("max_num")
    private Integer max_num;


}
